package com.erpoa.entity;

import com.google.common.base.Objects;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;

/**
 * @description:
 * @author: jamin.chen
 * @createDate: 2019/12/19 10:42
 * @version: 1.0
 */
@Data
@Builder
@Slf4j
@EqualsAndHashCode
public class LogicBean implements Serializable {
    private String logisticNo;
    private  String pickListNo;
    private String pckBarcode;
    private String scanners;
    private String scannName;
    private  String listNo;
    private  String orgNo;
    private  String prodNo;
    private  String sName;
    private  String trayNumber;
    private  String custNo;
    private String prodName;
    private String defOutDate;
    private String statisCtr;

    @Override
    public String toString() {
        return "LogicBean{" +
                "logisticNo='" + logisticNo + '\'' +
                ", pickListNo='" + pickListNo + '\'' +
                ", pckBarcode='" + pckBarcode + '\'' +
                ", scanners='" + scanners + '\'' +
                ", scannName='" + scannName + '\'' +
                ", listNo='" + listNo + '\'' +
                ", orgNo='" + orgNo + '\'' +
                ", prodNo='" + prodNo + '\'' +
                ", sName='" + sName + '\'' +
                ", trayNumber='" + trayNumber + '\'' +
                ", custNo='" + custNo + '\'' +
                ", prodName='" + prodName + '\'' +
                ", defOutDate='" + defOutDate + '\'' +
                ", statisCtr='" + statisCtr + '\'' +
                ", reviewId='" + reviewId + '\'' +
                ", trayDesc='" + trayDesc + '\'' +
                ", trayDescAll='" + trayDescAll + '\'' +
                ", unDft='" + unDft + '\'' +
                ", surplusQty='" + surplusQty + '\'' +
                ", httpResponse='" + httpResponse + '\'' +
                ", httpError='" + httpError + '\'' +
                ", allQtyDesc='" + allQtyDesc + '\'' +
                ", allQty='" + allQty + '\'' +
                ", pckQty='" + pckQty + '\'' +
                ", lineID='" + lineID + '\'' +
                ", status='" + status + '\'' +
                ", num=" + num +
                ", logisticQty='" + logisticQty + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        LogicBean logicBean = (LogicBean) o;
        return Objects.equal(logisticNo, logicBean.logisticNo) &&
                Objects.equal(pickListNo, logicBean.pickListNo) &&
                Objects.equal(pckBarcode, logicBean.pckBarcode) &&
                Objects.equal(scanners, logicBean.scanners) &&
                Objects.equal(scannName, logicBean.scannName) &&
                Objects.equal(listNo, logicBean.listNo) &&
                Objects.equal(orgNo, logicBean.orgNo) &&
                Objects.equal(prodNo, logicBean.prodNo) &&
                Objects.equal(sName, logicBean.sName) &&
                Objects.equal(trayNumber, logicBean.trayNumber) &&
                Objects.equal(custNo, logicBean.custNo) &&
                Objects.equal(prodName, logicBean.prodName) &&
                Objects.equal(defOutDate, logicBean.defOutDate) &&
                Objects.equal(statisCtr, logicBean.statisCtr) &&
                Objects.equal(reviewId, logicBean.reviewId) &&
                Objects.equal(trayDesc, logicBean.trayDesc) &&
                Objects.equal(trayDescAll, logicBean.trayDescAll) &&
                Objects.equal(unDft, logicBean.unDft) &&
                Objects.equal(surplusQty, logicBean.surplusQty) &&
                Objects.equal(httpResponse, logicBean.httpResponse) &&
                Objects.equal(httpError, logicBean.httpError) &&
                Objects.equal(allQtyDesc, logicBean.allQtyDesc) &&
                Objects.equal(allQty, logicBean.allQty) &&
                Objects.equal(pckQty, logicBean.pckQty) &&
                Objects.equal(lineID, logicBean.lineID) &&
                Objects.equal(status, logicBean.status) &&
                Objects.equal(num, logicBean.num) &&
                Objects.equal(logisticQty, logicBean.logisticQty);
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(logisticNo, pickListNo, pckBarcode, scanners, scannName, listNo, orgNo, prodNo, sName, trayNumber, custNo, prodName, defOutDate, statisCtr, reviewId, trayDesc, trayDescAll, unDft, surplusQty, httpResponse, httpError, allQtyDesc, allQty, pckQty, lineID, status, num, logisticQty);
    }

    public String getScanners() {
        return scanners;
    }

    public void setScanners(String scanners) {
        this.scanners = scanners;
    }

    public String getScannName() {
        return scannName;
    }

    public void setScannName(String scannName) {
        this.scannName = scannName;
    }

    public LogicBean(String logisticNo, String pickListNo, String pckBarcode, String scanners, String scannName, String listNo, String orgNo, String prodNo, String sName, String trayNumber, String custNo, String prodName, String defOutDate, String statisCtr, String reviewId, String trayDesc, String trayDescAll, String unDft, String surplusQty, String httpResponse, String httpError, String allQtyDesc, String allQty, String pckQty, String lineID, String status, Integer num, String logisticQty) {
        this.logisticNo = logisticNo;
        this.pickListNo = pickListNo;
        this.pckBarcode = pckBarcode;
        this.scanners = scanners;
        this.scannName = scannName;
        this.listNo = listNo;
        this.orgNo = orgNo;
        this.prodNo = prodNo;
        this.sName = sName;
        this.trayNumber = trayNumber;
        this.custNo = custNo;
        this.prodName = prodName;
        this.defOutDate = defOutDate;
        this.statisCtr = statisCtr;
        this.reviewId = reviewId;
        this.trayDesc = trayDesc;
        this.trayDescAll = trayDescAll;
        this.unDft = unDft;
        this.surplusQty = surplusQty;
        this.httpResponse = httpResponse;
        this.httpError = httpError;
        this.allQtyDesc = allQtyDesc;
        this.allQty = allQty;
        this.pckQty = pckQty;
        this.lineID = lineID;
        this.status = status;
        this.num = num;
        this.logisticQty = logisticQty;
    }

    public LogicBean(String logisticNo, String pickListNo, String pckBarcode, String listNo, String orgNo, String prodNo, String sName, String trayNumber, String custNo, String prodName, String defOutDate, String statisCtr, String reviewId, String trayDesc, String trayDescAll, String unDft, String surplusQty, String httpResponse, String httpError, String allQtyDesc, String allQty, String pckQty, String lineID, String status, Integer num, String logisticQty) {
        this.logisticNo = logisticNo;
        this.pickListNo = pickListNo;
        this.pckBarcode = pckBarcode;
        this.listNo = listNo;
        this.orgNo = orgNo;
        this.prodNo = prodNo;
        this.sName = sName;
        this.trayNumber = trayNumber;
        this.custNo = custNo;
        this.prodName = prodName;
        this.defOutDate = defOutDate;
        this.statisCtr = statisCtr;
        this.reviewId = reviewId;
        this.trayDesc = trayDesc;
        this.trayDescAll = trayDescAll;
        this.unDft = unDft;
        this.surplusQty = surplusQty;
        this.httpResponse = httpResponse;
        this.httpError = httpError;
        this.allQtyDesc = allQtyDesc;
        this.allQty = allQty;
        this.pckQty = pckQty;
        this.lineID = lineID;
        this.status = status;
        this.num = num;
        this.logisticQty = logisticQty;
    }

    public String getPckBarcode() {
        return pckBarcode;
    }

    public void setPckBarcode(String pckBarcode) {
        this.pckBarcode = pckBarcode;
    }

    public LogicBean(String logisticNo, String pickListNo, String listNo, String orgNo, String prodNo, String sName, String trayNumber, String custNo, String prodName, String defOutDate, String statisCtr, String reviewId, String trayDesc, String trayDescAll, String unDft, String surplusQty, String httpResponse, String httpError, String allQtyDesc, String allQty, String pckQty, String lineID, String status, Integer num, String logisticQty) {
        this.logisticNo = logisticNo;
        this.pickListNo = pickListNo;
        this.listNo = listNo;
        this.orgNo = orgNo;
        this.prodNo = prodNo;
        this.sName = sName;
        this.trayNumber = trayNumber;
        this.custNo = custNo;
        this.prodName = prodName;
        this.defOutDate = defOutDate;
        this.statisCtr = statisCtr;
        this.reviewId = reviewId;
        this.trayDesc = trayDesc;
        this.trayDescAll = trayDescAll;
        this.unDft = unDft;
        this.surplusQty = surplusQty;
        this.httpResponse = httpResponse;
        this.httpError = httpError;
        this.allQtyDesc = allQtyDesc;
        this.allQty = allQty;
        this.pckQty = pckQty;
        this.lineID = lineID;
        this.status = status;
        this.num = num;
        this.logisticQty = logisticQty;
    }

    public String getLogisticNo() {
        return logisticNo;
    }

    public void setLogisticNo(String logisticNo) {
        this.logisticNo = logisticNo;
    }

    public LogicBean(){
        super();
    }

    public LogicBean(String pickListNo, String listNo, String orgNo, String prodNo, String sName, String trayNumber, String custNo, String prodName, String defOutDate, String statisCtr, String reviewId, String trayDesc, String trayDescAll, String unDft, String surplusQty, String httpResponse, String httpError, String allQtyDesc, String allQty, String pckQty, String lineID, String status, Integer num, String logisticQty) {
        this.pickListNo = pickListNo;
        this.listNo = listNo;
        this.orgNo = orgNo;
        this.prodNo = prodNo;
        this.sName = sName;
        this.trayNumber = trayNumber;
        this.custNo = custNo;
        this.prodName = prodName;
        this.defOutDate = defOutDate;
        this.statisCtr = statisCtr;
        this.reviewId = reviewId;
        this.trayDesc = trayDesc;
        this.trayDescAll = trayDescAll;
        this.unDft = unDft;
        this.surplusQty = surplusQty;
        this.httpResponse = httpResponse;
        this.httpError = httpError;
        this.allQtyDesc = allQtyDesc;
        this.allQty = allQty;
        this.pckQty = pckQty;
        this.lineID = lineID;
        this.status = status;
        this.num = num;
        this.logisticQty = logisticQty;
    }

    private String reviewId;
    private String trayDesc;
    private String trayDescAll;
    private String unDft;
    private String surplusQty;
    private String httpResponse;
    private String httpError;
    private String allQtyDesc;
    private String allQty;
    private String pckQty;
    private String lineID;
    private String status;

    public String getTrayDescAll() {
        return trayDescAll;
    }

    public void setTrayDescAll(String trayDescAll) {
        this.trayDescAll = trayDescAll;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLineID() {
        return lineID;
    }

    public void setLineID(String lineID) {
        this.lineID = lineID;
    }

    public String getPckQty() {
        return pckQty;
    }

    public void setPckQty(String pckQty) {
        this.pckQty = pckQty;
    }

    public String getAllQty() {
        return allQty;
    }

    public void setAllQty(String allQty) {
        this.allQty = allQty;
    }

    public String getAllQtyDesc() {
        return allQtyDesc;
    }

    public void setAllQtyDesc(String allQtyDesc) {
        this.allQtyDesc = allQtyDesc;
    }

    public String getHttpError() {
        return httpError;
    }

    public void setHttpError(String httpError) {
        this.httpError = httpError;
    }

    public String getHttpResponse() {
        return httpResponse;
    }

    public void setHttpResponse(String httpResponse) {
        this.httpResponse = httpResponse;
    }

    private  Integer num;//count或者sum

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getSurplusQty() {
        return surplusQty;
    }

    public void setSurplusQty(String surplusQty) {
        this.surplusQty = surplusQty;
    }

    public String getUnDft() {
        return unDft;
    }

    public void setUnDft(String unDft) {
        this.unDft = unDft;
    }

    public String getTrayDesc() {
        return trayDesc;
    }

    public void setTrayDesc(String trayDesc) {
        this.trayDesc = trayDesc;
    }

    public String getReviewId() {
        return reviewId;
    }

    public void setReviewId(String reviewId) {
        this.reviewId = reviewId;
    }



    public String getDefOutDate() {
        return defOutDate;
    }

    public void setDefOutDate(String defOutDate) {
        this.defOutDate = defOutDate;
    }

    public String getStatisCtr() {
        return statisCtr;
    }

    public void setStatisCtr(String statisCtr) {
        this.statisCtr = statisCtr;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getCustNo() {
        return custNo;
    }

    public void setCustNo(String custNo) {
        this.custNo = custNo;
    }

    public String getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(String trayNumber) {
        this.trayNumber = trayNumber;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getPickListNo() {
        return pickListNo;
    }

    public void setPickListNo(String pickListNo) {
        this.pickListNo = pickListNo;
    }

    public String getListNo() {
        return listNo;
    }

    public void setListNo(String listNo) {
        this.listNo = listNo;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getProdNo() {
        return prodNo;
    }

    public void setProdNo(String prodNo) {
        this.prodNo = prodNo;
    }

    public String getLogisticQty() {
        return logisticQty;
    }

    public void setLogisticQty(String logisticQty) {
        this.logisticQty = logisticQty;
    }

    private  String logisticQty;

}
